#include "stdio.h"
extern char **environ;
int main(int argc, char *argv[])
{
    for(int i = 0; i < argc; i++)
    {
        printf("argv[%d] = %s\n", i, argv[i]);
    }
    #ifdef PRINTENV
    char **env;
    for (env = environ; *env != 0; env++)
    {
        char *thisEnv = *env;
        fprintf(stderr,"%s\n", thisEnv);
    }
    #endif
    return 0;
}